package com.tbvtc.agriculturalcreditchainserver2025.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 农作物农药信息表（依据GB/T 8321.10-2018）
 * </p>
 *
 * @author author
 * @since 2025-10-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("crop_pesticide_info")

public class CropPesticideInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    @TableField("crop_name")
    private String cropName;

    @TableField("pesticide_generic_name")
    private String pesticideGenericName;

    @TableField("control_object")
    private String controlObject;

    @TableField("active_ingredient_conc")
    private String activeIngredientConc;

    @TableField("max_application_times")
    private Integer maxApplicationTimes;


    @TableField("safety_interval_days")
    private Integer safetyIntervalDays;


    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("update_time")
    private LocalDateTime updateTime;


}
